import { axios } from '@/utils/request'

export function queryQuestionPoint (parameter) {
  return axios({
    url: '/questionPoint/query',
    method: 'post',
    data: parameter
  })
}

export function addQuestionPoint (parameter) {
  return axios({
    url: '/questionPoint/add',
    method: 'post',
    data: parameter
  })
}

export function listQueByPoint (parameter) {
  return axios({
    url: '/questionPoint/listQueByPoint',
    method: 'post',
    data: parameter
  })
}

export function addPoint (parameter) {
  return axios({
    url: '/questionPoint/addPoint',
    method: 'post',
    data: parameter
  })
}

export function questionPointInfoByQuestionId (parameter) {
  return axios({
    url: '/questionPoint/questionPointInfoByQuestionId',
    method: 'post',
    data: parameter
  })
}

export function remove (parameter) {
  return axios({
    url: '/questionPoint/remove',
    method: 'post',
    data: parameter
  })
}
